#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>

#define NUMBER	500000
#define FORZ(i, max)	for(i = 0; i < max; i++)
#define SUM(n) ((n)*((n)+1ll)/2ll)

typedef long long int ll;
typedef unsigned long long int ull;
typedef unsigned int uint;

int main() {
	int n;
	scanf("%d",&n);
	printf("%d\n", NUMBER);
	printf("%llu\n",r);
	return 0;
}
